package com.bdqn.mapper;

import com.bdqn.entity.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface PaymentMapper {

    //新增
    int create(Payment payments);

    //通过主键 ID 查询支付信息
    Payment getPaymentById(@Param("id")Long id);
}
